﻿@model AtlasWichita.Models.Quiz

@{
    ViewBag.Title = "Quiz";
}

@using (Html.BeginForm("nextQuestion", "Customer", new { userQuiz = @Model }))
{
    <h2>Question # @Model.currentQuestion</h2>
    <h2>@Model.QuizQuestions[@Model.currentQuestion].question</h2>

    <input class="btn btn-success" name="Answer" value=@Model.QuizQuestions[@Model.currentQuestion].answerA.adjective type="submit" />
    <input class="btn btn-success" name="Answer" value=@Model.QuizQuestions[@Model.currentQuestion].answerB.adjective type="submit" />

    <br />
    <br />
    <br />
    @*<p>
        @Html.ActionLink("Back", "Index")
    </p>*@
}